<h1>Partner family List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Name</th>
      <th>Relationship type</th>
      <th>Px no</th>
      <th>Passenger</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($partner_family_list as $partner_family): ?>
    <tr>
      <td><a href="<?php echo url_for('partner_family/show?id='.$partner_family['id']) ?>"><?php echo $partner_family->getid() ?></a></td>
      <td><?php echo $partner_family->getname() ?></td>
      <td><?php echo $partner_family->getrelationship_type_id() ?></td>
      <td><?php echo $partner_family->getpx_no() ?></td>
      <td><?php echo $partner_family->getpassenger_id() ?></td>
      <td><?php echo $partner_family->getcreated_at() ?></td>
      <td><?php echo $partner_family->getupdated_at() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('partner_family/new') ?>">New</a>
